import request from '@/utils/request'

export const getPartition = params => request.post('/spot/listPartition', params)

export const getSpotList = params => request.post('/spot/listNoPage', params)

export const orderSpot = params => request.post('/spot/order', params)

export const quickOrder = params => request.post('/spot/quickOrder', params)

export const nearestSpot = params => request.post('/spot/nearestSpot', params)